package com.weds.edpf.core.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weds.core.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.Size;

public class NGateRealEntity extends BaseEntity implements Serializable {
    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer xh;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer lx;

    /**
     *
     */
    @Size(max = 16)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String gateBh;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer acdepSerial;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(required = true, dataType = "string", example = "2020-06-11 10:53:54", value = "")
    private Date sj;

    /**
     *
     */
    @Size(max = 50)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String glyNo;

    /**
     */
    private static final long serialVersionUID = 1L;

    private String keys;

    /**
     * This method returns the value of the database column DT_GATE_REAL.xh
     *
     * @return the value of DT_GATE_REAL.xh
     */
    public Integer getXh() {
        return xh;
    }

    /**
     */
    public NGateRealEntity withXh(Integer xh) {
        this.setXh(xh);
        return this;
    }

    /**
     * This method sets the value of the database column DT_GATE_REAL.xh
     *
     * @param xh the value for DT_GATE_REAL.xh
     */
    public void setXh(Integer xh) {
        this.xh = xh;
    }

    /**
     * This method returns the value of the database column DT_GATE_REAL.lx
     *
     * @return the value of DT_GATE_REAL.lx
     */
    public Integer getLx() {
        return lx;
    }

    /**
     */
    public NGateRealEntity withLx(Integer lx) {
        this.setLx(lx);
        return this;
    }

    /**
     * This method sets the value of the database column DT_GATE_REAL.lx
     *
     * @param lx the value for DT_GATE_REAL.lx
     */
    public void setLx(Integer lx) {
        this.lx = lx;
    }

    /**
     * This method returns the value of the database column DT_GATE_REAL.Gate_bh
     *
     * @return the value of DT_GATE_REAL.Gate_bh
     */
    public String getGateBh() {
        return gateBh;
    }

    /**
     */
    public NGateRealEntity withGateBh(String gateBh) {
        this.setGateBh(gateBh);
        return this;
    }

    /**
     * This method sets the value of the database column DT_GATE_REAL.Gate_bh
     *
     * @param gateBh the value for DT_GATE_REAL.Gate_bh
     */
    public void setGateBh(String gateBh) {
        this.gateBh = gateBh;
    }

    /**
     * This method returns the value of the database column DT_GATE_REAL.Acdep_serial
     *
     * @return the value of DT_GATE_REAL.Acdep_serial
     */
    public Integer getAcdepSerial() {
        return acdepSerial;
    }

    /**
     */
    public NGateRealEntity withAcdepSerial(Integer acdepSerial) {
        this.setAcdepSerial(acdepSerial);
        return this;
    }

    /**
     * This method sets the value of the database column DT_GATE_REAL.Acdep_serial
     *
     * @param acdepSerial the value for DT_GATE_REAL.Acdep_serial
     */
    public void setAcdepSerial(Integer acdepSerial) {
        this.acdepSerial = acdepSerial;
    }

    /**
     * This method returns the value of the database column DT_GATE_REAL.sj
     *
     * @return the value of DT_GATE_REAL.sj
     */
    public Date getSj() {
        return sj;
    }

    /**
     */
    public NGateRealEntity withSj(Date sj) {
        this.setSj(sj);
        return this;
    }

    /**
     * This method sets the value of the database column DT_GATE_REAL.sj
     *
     * @param sj the value for DT_GATE_REAL.sj
     */
    public void setSj(Date sj) {
        this.sj = sj;
    }

    /**
     * This method returns the value of the database column DT_GATE_REAL.gly_no
     *
     * @return the value of DT_GATE_REAL.gly_no
     */
    public String getGlyNo() {
        return glyNo;
    }

    /**
     */
    public NGateRealEntity withGlyNo(String glyNo) {
        this.setGlyNo(glyNo);
        return this;
    }

    /**
     * This method sets the value of the database column DT_GATE_REAL.gly_no
     *
     * @param glyNo the value for DT_GATE_REAL.gly_no
     */
    public void setGlyNo(String glyNo) {
        this.glyNo = glyNo;
    }

    public String getKeys() {
        return keys;
    }

    public void setKeys(String keys) {
        this.keys = keys;
    }
}